class UserAcitvtyModel {
  int id;
  String memberNickname;
  String memberHead;
  String memberToken;
  int gold;
  String lastLogin;
  int memberExp;
  int disturb;
  int online;

  UserAcitvtyModel(
      {this.id,
      this.memberNickname,
      this.memberHead,
      this.memberToken,
      this.gold,
      this.lastLogin,
      this.memberExp,
      this.disturb,
      this.online});

  UserAcitvtyModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    memberNickname = json['member_nickname'];
    memberHead = json['member_head'];
    memberToken = json['member_token'];
    gold = json['gold'];
    lastLogin = json['last_login'];
    memberExp = json['member_exp'];
    disturb = json['disturb'];
    online = json['online'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['member_nickname'] = this.memberNickname;
    data['member_head'] = this.memberHead;
    data['member_token'] = this.memberToken;
    data['gold'] = this.gold;
    data['last_login'] = this.lastLogin;
    data['member_exp'] = this.memberExp;
    data['disturb'] = this.disturb;
    data['online'] = this.online;
    return data;
  }
}
